#include<bits/stdc++.h>

using namespace std;
typedef long long ll;

//++ -- 优先级高于取 *
int main() {
    int x = 3;
    cout << "&x=" << &x << endl;
    int *p;
    p = &x;
    cout << p << endl;
    cout << *p << endl;//dangerous!!

    cout << *p++ << endl;//*(p++)  而不是(*p)++
    cout << *++p << endl;//
    return 0;
}